package com.metamech.io;


public class StreamingCharFactory /*extends DefaultReaderFactory*/ {
  /*public XMLEntityHandler.EntityReader createCharReader(XMLEntityHandler  entityHandler,
                                                        XMLErrorReporter errorReporter,
                                                        boolean sendCharDataAsCharArray,
                                                        Reader reader,
                                                        StringPool stringPool) throws Exception
  {
	 
      return new StreamingCharReader(entityHandler,
                                     errorReporter,
                                     sendCharDataAsCharArray,
                                     reader,
                                     stringPool);
  }

  public XMLEntityHandler.EntityReader createUTF8Reader(XMLEntityHandler entityHandler, 
                                                        XMLErrorReporter errorReporter,
                                                        boolean sendCharDataAsCharArray,
                                                        InputStream data,
                                                        StringPool stringPool)
  throws Exception {
	  Log.info("masuk2");
      XMLEntityHandler.EntityReader reader;
      reader = new StreamingCharReader(entityHandler,
                                       errorReporter,
                                       sendCharDataAsCharArray,
                                       new InputStreamReader(data, "UTF8"),
                                       stringPool);
      return reader;
  }*/
}

